一个代码手艺人的技术博客

为学日益


  • 首页

  • 分类

  • 标签

  • 归档

  • 关于

替换yum的默认源为163源

发表于 2018-12-03 | 更新于 2019-03-12 | 分类于 git

163:http://mirrors.163.com/.help/centos.html

1
2
3
4
5
6
7
# 备份 /etc/yum.repos.d/CentOS-Base.repo
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
# 下载新源
cd /etc/yum.repos.d/
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
yum clean all
yum makecache
# git # 版本控制
python数据类型(零)
python数据类型(一)

萧遥

88 日志
10 分类
140 标签
GitHub E-Mail
© 2019 萧遥